/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uk.ac.staffs.student.autopilot.packet;

/**
 * 
 * @author Peter
 */
public class Packet implements PacketInterface {

    private final int packetType;
    private final int checkSum;
    private String payload;

    public Packet(final int packetType, final int checkSum) {

        this.packetType = packetType;
        this.checkSum = checkSum;
    }

    /**
     * @return the packetType
     */
    @Override
    public int getPacketType() {
        return packetType;
    }

    /**
     * @return the checkSum
     */
    @Override
    public int getCheckSum() {
        return checkSum;
    }

    @Override
    public String getPayload() {
        // TODO Auto-generated method stub
        return payload;
    }
}
